#TODO Use CMAKE Variables instead of .
#TODO May be I have to move Parser into LinearProgramming folder
include_directories(.)

set(COIN_UTILS_OBJ "" CACHE PATH "Coin Utils Objects Directory") #No default value

include_directories(SYSTEM ${EIGEN_INC})
include_directories(SYSTEM ${COIN_UTILS_INC})
#/home/satya/ThirdParty/CoinUtils-2.4.2/lib
find_library( COIN_LIB NAMES CoinUtils
                       PATHS ${COIN_UTILS_OBJ}
                       PATH_SUFFIXES debug)

add_library(parser STATIC MPSReader.cpp)

set(NASTY_LINKER_APPEND "-lz")
target_link_libraries(parser ${COIN_LIB} ${NASTY_LINKER_APPEND})
